//package com.inspur.edp.cef.variable.rtgenerator;
//
//import com.inspur.edp.cef.entity.config.CefConfig;
//import com.inspur.edp.cef.entity.config.MgrConfig;
//import com.inspur.edp.cef.rtgenerator.CefGenerateContext;
//import com.inspur.edp.cef.rtgenerator.CefGenerator;
//import com.inspur.edp.cef.rtgenerator.CefRootCompileUnitGenerator;
//import com.inspur.edp.cef.rtgenerator.common.CefMgrTypeInfo;
//import com.inspur.edp.cef.rtgenerator.common.CompileContext;
//import com.inspur.edp.cef.rtgenerator.managergen.ManagerGenerator;
//import com.inspur.edp.cef.variable.gencommon.VariableConfig;
//import com.inspur.edp.cef.variable.rtgenerator.manager.VarManagerGenerator;
//
//public class VariableGenerator extends CefGenerator
//{
//	private CompileContext compileContext;
////	private ProjectGeneratorContext parentContext;
//
//	public VariableGenerator(java.util.ArrayList<MgrConfig> mgrConfigs, CefMgrTypeInfo parentTypeInfo, VariableConfig cefConfig,String generatedPath, CompileContext compileContext)
//	{
//		super(mgrConfigs, parentTypeInfo, cefConfig,generatedPath,compileContext);
////		this.parentContext = parentContext;
//		this.compileContext = compileContext;
//	}
//
////C# TO JAVA CONVERTER WARNING: There is no Java equivalent to C#'s shadowing via the 'new' keyword:
////ORIGINAL LINE: protected new VarGenerateContext Context => (VarGenerateContext)super.Context;
//	protected VarGenerateContext getVarGenerateContext(){return (VarGenerateContext)super.getContext();}
//
//	@Override
//	protected final CefGenerateContext createCefGenerateContext(java.util.ArrayList<CefMgrTypeInfo> mgrTypes, CefMgrTypeInfo parentTypeInfo
//			, com.inspur.edp.cef.entity.config.CefConfig cefConfig, CefMgrTypeInfo currentTypeInfo)
//	{
//		VarGenerateContext rez = CreateVarGenCtx(mgrTypes, parentTypeInfo, cefConfig, currentTypeInfo);
//
//		return rez;
//	}
//
//	@Override
//	protected CefRootCompileUnitGenerator createRootCompileUnitGenerator() {
//		return new VariableCompileUnit(getVarGenerateContext());
//	}
//
//	@Override
//	protected void beforeInitialize()
//	{
//		super.beforeInitialize();
////		Context.SetIsRef(true);
////		Context.SetRefProjectGen(parentContext);
//	}
//
//	protected VarGenerateContext CreateVarGenCtx(java.util.ArrayList<CefMgrTypeInfo> mgrTypes, CefMgrTypeInfo parentTypeInfo, CefConfig cefConfig, CefMgrTypeInfo currentTypeInfo)
//	{
//		return new VarGenerateContext(mgrTypes, parentTypeInfo, cefConfig, currentTypeInfo);
//	}
//
////	@Override
////	protected ManagerGenerator createManagerGenerator() {return  new VarManagerGenerator(getVarGenerateContext());}
//
//
//	@Override
//	protected void afterGenerate()
//	{
//	}
//
//	public final void SetAfterGenerate()
//	{
//		super.afterGenerate();
//	}
//
//	//protected override void AddExtendChildGenerators(List<BaseGenerator> childGenerators)
//	//{
//	//}
//}